import {deliveryAddress} from "../model/deliveryAddressModel";
import request from "../utils/request";

export default {
    async insert(delivery: deliveryAddress) {
        return request.post('/delivery/insert',delivery);
    },
    async getById(id : number) {
        let params = {id};
        return request.get('/delivery/getById' , params);
    }
}
